package com.ruoyi.system.service.fx;

import com.ruoyi.system.domain.fx.FxGoodclassify;
import com.ruoyi.system.domain.fx.FxReceiveAddress;
import com.ruoyi.system.domain.fx.FxStore;

import java.util.List;

/**
 * 收货地址维护Service接口
 * 
 * @author ruoyi
 * @date 2024-07-23
 */
public interface IFxReceiveAddressService 
{
    /**
     * 查询收货地址维护
     * 
     * @param id 收货地址维护主键
     * @return 收货地址维护
     */
    public FxReceiveAddress selectFxReceiveAddressById(Long id);

    /**
     * 查询收货地址列表并排序
     * @return
     */
    FxReceiveAddress selectRecentlyOrDefault(FxReceiveAddress fxReceiveAddress);

    List<FxReceiveAddress> selectAddressList(FxReceiveAddress fxReceiveAddress);

    /**
     * 查询收货地址维护列表
     * 
     * @param fxReceiveAddress 收货地址维护
     * @return 收货地址维护集合
     */
    public List<FxReceiveAddress> selectFxReceiveAddressList(FxReceiveAddress fxReceiveAddress);

    /**
     * 新增收货地址维护
     * 
     * @param fxReceiveAddress 收货地址维护
     * @return 结果
     */
    public int insertFxReceiveAddress(FxReceiveAddress fxReceiveAddress);

    /**
     * 修改收货地址维护
     * 
     * @param fxReceiveAddress 收货地址维护
     * @return 结果
     */
    public int updateFxReceiveAddress(FxReceiveAddress fxReceiveAddress);

    /**
     * 新增与修改
     * @param fxReceiveAddress 收货地址
     * @return
     */
    int save(FxReceiveAddress fxReceiveAddress);

    /**
     * 批量删除收货地址维护
     * 
     * @param ids 需要删除的收货地址维护主键集合
     * @return 结果
     */
    public int deleteFxReceiveAddressByIds(Long[] ids);

    /**
     * 删除收货地址维护信息
     * 
     * @param id 收货地址维护主键
     * @return 结果
     */
    public int deleteFxReceiveAddressById(Long id);
}
